import { S } from '../../../s';
import { IPSDEFVRQueryCountCondition } from './ipsdefvrquery-count-condition';
import { PSDEFVRSingleConditionImpl } from './psdefvrsingle-condition-impl';

export class PSDEFVRQueryCountConditionImpl
  extends PSDEFVRSingleConditionImpl
  implements IPSDEFVRQueryCountCondition
{
  get maxValue(): number {
    return this.M.maxValue;
  }

  get minValue(): number {
    return this.M.minValue;
  }

  get alwaysCheck(): boolean {
    return this.M.alwaysCheck;
  }

  get includeMaxValue(): boolean {
    return this.M.includeMaxValue;
  }

  get includeMinValue(): boolean {
    return this.M.includeMinValue;
  }
  get cls(): string {
    return 'PSDEFVRQueryCountConditionImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._1c8) return true;
    return super.instanceof(cls);
  }
}
